package com.lx.util.secure.algorithm.coder;

import com.lx.util.secure.Algorithm;

public interface Coder extends Algorithm {

    public abstract byte[] encode(byte[] bytes);

    public abstract byte[] encode(String data);

    public abstract String encodeToString(byte[] bytes);

    public abstract String encodeToString(String data);

    public abstract byte[] decode(byte[] bytes);

    public abstract byte[] decode(String data);

    public abstract String decodeToString(byte[] bytes);

    public abstract String decodeToString(String data);

}
